@extends('layouts.normal')
@section('self-style')
    <link rel="stylesheet" href="/package/plugins/bootstrap-table/bootstrap-table.min.css">
    <script type="text/javascript">
        var id = {!! $id !!};
    </script>
@endsection

@section('menu')
    @include("teacher.layouts.menu")
@endsection

@section("header")
    <section class="content-header">
        <h4>
            项目管理
            <b>/</b>
            项目详情
        </h4>
    </section>
@endsection

@section('content')
    <section class="content">
        <div class="row">
            <div class="col-md-12">
                <!-- Horizontal Form -->
                <div class="box box-default">
                    <div class="form-horizontal">
                        <div class="box-header with-border">
                            <div class="col-sm-12">
                                <h3 class="col-sm-2 box-title"></h3>
                                <div class="col-sm-9">
                                    <a class="btn btn-default pull-right" href="javascript:history.back();">返回</a>
                                </div>
                            </div>
                        </div>
                        <!-- /.box-header -->
                        <!-- form start -->
                        <div class="box-body">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目名称:</label>

                                <div class="col-sm-8">
                                    <label class="control-label program-title"></label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">申请时间:</label>
                                <div class="col-sm-8">
                                    <label class="control-label apply-start-end-time"></label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">审核时间:</label>
                                <div class="col-sm-8">
                                    <label class="control-label check-start-end-time"></label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目状态:</label>

                                <div class="col-sm-8">
                                    <label class="control-label program-status"></label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目介绍:</label>
                                <div class="col-sm-8">
                                    <label class="control-label program-desc"></label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label"></label>
                                <div class="col-sm-8 program-user-tip">
                                    <input type="hidden" class="program-user-state" value="99">
                                    <input type="hidden" class="program-user-status">
                                </div>
                            </div>
                        </div>
                        <!-- /.box-body -->
                    </div>
                </div>
                <!-- /.box -->
            </div>
        </div>
        <div class="row">
            <!-- /.col -->
            <div class="col-md-12">
                <div class="box">
                    <div class="box-header">
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table id="apart-table" data-height="600"></table>
                    </div>
                    <!-- /.tab-content -->
                </div>
                <!-- /.nav-tabs-custom -->
            </div>
            <!-- /.col -->
        </div>
    </section>
@endsection


@section('modal')
    <div class="modal fade" id="view-select-dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">选房提交</h4>
                </div>
                <div class="modal-body">
                    <div class="form-horizontal m-t">
                        <div class="form-group">
                            <label class="control-label col-sm-3">已选公寓:</label>
                            <div class="col-sm-9">
                                <input type="hidden" class="apart-id">
                                <span class="apart-name"></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary pull-left btn-save">提交</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <div class="modal fade" id="view-release-dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">取消选房</h4>
                </div>
                <div class="modal-body">
                    <div class="form-horizontal m-t">
                        <div class="form-group">
                            <label class="control-label col-sm-3">已选公寓:</label>
                            <div class="col-sm-9">
                                <input type="hidden" class="apart-id">
                                <span class="apart-name"></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary pull-left btn-save">提交</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
@endsection



@section('self-script')
    <script src="/package/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="/package/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script type="text/javascript" src="/js/teacher/program-view.js?v={{ time() }}"></script>
@endsection